//package com.qujia.station.controller;
//
//import com.qujia.common.core.controller.BaseController;
//import com.qujia.common.core.page.TableDataInfo;
//import com.qujia.station.domain.PayOrder;
//import com.qujia.station.service.IPayOrderService;
//import com.qujia.system.service.ISysDeptService;
//import com.qujia.system.service.ISysUserService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
//@RestController
//@RequestMapping("/station/noorder")
//public class NoOilOrderController  extends BaseController {
//    @Autowired
//    private IPayOrderService payOrderService;
//    @Autowired
//    private ISysUserService sysUserService;
//    @Autowired
//    private ISysDeptService deptService;
//    /**
//     * 查询订单支付列表
//     */
//    @GetMapping("/list")
//    public TableDataInfo list(PayOrder payOrder)
//    {
//        List<String> list = deptService.levelDeptList(payOrder.getLevelId());
//        if(list!=null && list.size()>0){
//            payOrder.setStationIdList(list);
//            payOrder.setStationId(null);
//        }
//        startPage();
//        payOrder.setStatus("1");
//        payOrder.setOrderType("2");
//        List<PayOrder> payOrderlist = payOrderService.selectPayOrderList(payOrder);
//        return getDataTable(payOrderlist);
//    }
//}
